package com.java.huxb.day03.utils;

import com.java.huxb.day03.entity.Student;

import java.util.ArrayList;
import java.util.List;

/**
 * @author huxb
 * @date 2020/3/3 0003 下午 8:53
 */
public class StudentUtils {
    public static List<Student> getStudentList() {
        List<Student> studentList = new ArrayList<>(10);

        for (int i = 0; i < 10; i++) {
            studentList.add(new Student(i + "", "学生" + i , i) );
        }
        return studentList;
    }
}
